Xbasic

*PLAIN_TO_HTML Function

Syntax

HTML_Text as C = *PLAIN_TO_HTML(C text)

Arguments

HTML_Text

HTML encoded text with default font, style, and size attributes.

text

Plain un-encoded ASCII text.

Description

Convert from plain text to html.

Discussion

The *PLAIN_TO_HTML() function converts plain ASCII text into HTML text.

Example

dim html_text as C
dim plain_text as C
plain_text = "George lived on top of a mountain."
html_text = *plain_to_html(plain_text)
? html_text
=

See Also